package next.fire.spinus.logx.utils.http;

public class HttpNotConnectionException extends RuntimeException {
    private String url;

    public HttpNotConnectionException(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return getMessage();
    }

    @Override
    public String getMessage() {
        return "Can't connect to url " + url;
    }
}